<div class="container">
    <legend><h3>特殊审核记录</h3></legend>
    <table class="table table-bordered ">
        <tr class="th">
            <td>序号</td>
            <td widtd="15%">负责人</td>
            <td widtd="8%" >位置</td>
            <td widtd="20%">日期</td>
            <td widtd="40%">备注</td>
            <td widtd="17">操作</td>
            <?php foreach (history_night() as $key => $value): ?>
            <tr>
                <td><?php echo $key + 1; ?></td>
                <td><?php echo htmlspecialchars($value['name']); ?></td>
                <td><?php echo htmlspecialchars($value['site']); ?></td>
                <td><?php echo htmlspecialchars($value['date']); ?></td>
                <td><?php echo htmlspecialchars($value['detail']); ?></td>
                <td>
                    <?php
                    switch ($value['status']) {
                        case 1: echo '已同意';
                            break;
                        case -1: echo '已拒绝';
                            break;
                    }
                    ?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>
</div>